wayland: Change backend api to use GdkToplevel
authorMatthias Clasen <mclasen@redhat.com>
Sat, 19 Sep 2020 17:05:57 +0000 (13:05 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 19 Sep 2020 17:07:11 +0000 (13:07 -0400)
commit3023a61e1d65bee1db3def19ddacf328ad4b6c90
tree8f356ef82af3ff16116d5b4633c23b34fc20da25
parentc1e33056fb2ae513c579532d0f747b50bb6f0a49
wayland: Change backend api to use GdkToplevel

Most of the surface api we have in the Wayland backend
only makes sense for toplevels, so reshuffle things to
take a GdkToplevel instead of a GdkSurface.

Update all callers and the docs.
docs/reference/gdk/gdk4-sections.txt
gdk/wayland/gdksurface-wayland.c
gdk/wayland/gdkwaylandsurface.h
gtk/gtkapplication-wayland.c
gtk/gtkwindow.c